﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class DanhSachDauGia : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        HienThi();
    }

    private void HienThi()
    { 
        int Ma=1;
        if(Request["Ma"]!=null)
            Ma=int.Parse(Request["Ma"].ToString());
        DauGia_Ctl DG=new DauGia_Ctl();
        SqlDataAdapter Adapter=DG.gets_DauGia(Ma);
        DataSet dataSet = new DataSet();
        Adapter.Fill(dataSet);
        DL_DanhSachDauGia.DataSource = dataSet;
        DL_DanhSachDauGia.DataBind();
    }
}
